package AST;

import java.util.ArrayList;
import java.util.List;

public class VarArgsList {
	private FpDef fpdef;
	private Test test;
	private List<FpDef> fpdefList= new ArrayList<FpDef>();
	private List<Test> testList= new ArrayList<Test>();

	public VarArgsList(FpDef fpdef, Test test, List<FpDef> fpdefList,
			List<Test> testList) {
		print();
		this.fpdef = fpdef;
		this.test = test;
		this.fpdefList = fpdefList;
		this.testList = testList;
	}

	public VarArgsList() {
		print();
	}

	public FpDef getFpdef() {
		return fpdef;
	}

	public void setFpdef(FpDef fpdef) {
		this.fpdef = fpdef;
	}

	public Test getTest() {
		return test;
	}

	public void setTest(Test test) {
		this.test = test;
	}

	public List<FpDef> getFpdefList() {
		return fpdefList;
	}

	public void setFpdefList(List<FpDef> fpdefList) {
		this.fpdefList = fpdefList;
	}

	public List<Test> getTestList() {
		return testList;
	}

	public void setTestList(List<Test> testList) {
		this.testList = testList;
	}

	public void print() {
		System.out.println("VarArgsList");
	}

	public void addFpdefList(FpDef fpdef2) {
		this.fpdefList.add(fpdef2);

	}

	public void addTestList(Test test2) {
		this.testList.add(test2);

	}

	public void genC(PW pw) {

	}

}
